<!DOCTYPE html>
<html lang="zh-cmn-Hans">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit" />
    <meta name="description" content="DataV 是高效、高性能的拖拽式低代码数据可视化开发平台，将页面元素封装为基础组件，无需编写代码即可完成业务需求。">
    <meta name="keywords" content="DataV，DataV，低代码，可视化">
    <meta name="author" content="奔跑的面条，面条">
    <meta name="version" content="版本：version1.1.9 线上系统分离">
    <meta
      name="viewport"
      content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
    />
    <link rel="icon" href="./favicon.ico" />
    <script src="./lib/echartsDataV.min.js"></script>
    <title>XT-DataV</title>
    <link rel="stylesheet" href="./index.css?v=1.0.2" />
  </head>
  <script>
    window.onload = function () {
      var xmlhttp = new XMLHttpRequest();;
      xmlhttp.onreadystatechange = function () {
        if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {

          var res = JSON.parse(xmlhttp.responseText);
          var username = res.data?.user?.userinfo?.username;

          var loc_url = window.location.href;
          if (username == undefined && loc_url.indexOf('chart/preview') != -1) {
            window.location = '/framework.aspx';
          }
          if (username != "system" && username != "xtjlt" && loc_url.indexOf('project/items') != -1) {
            window.location = '/framework.aspx';
          }
        }
      }
      xmlhttp.open("GET", "/api/datav/sys/getOssInfo", true);
      xmlhttp.send();
    };
  </script>
  <body>
    <div id="appProvider" style="display: none;"></div>
    <div id="app">
      <div class="first-loading-wrp">
        <div class="loading-wrp">
          <span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
        </div>
      </div>
    </div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
<style>
  .d:first-child{
    cursor: pointer;
    outline: auto;
    
  }
</style>
